testsuite: disable performance tests
authorMatthias Clasen <mclasen@redhat.com>
Fri, 20 Mar 2020 17:47:58 +0000 (13:47 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 20 Mar 2020 17:47:58 +0000 (13:47 -0400)
For some reason, these tests are flaky in ci,
they always work locally for me. So, until
we use the data these tests produce for something,
lets just turn them off.

testsuite/css/meson.build
testsuite/gtk/meson.build

index 04bda160934b1efcf02e0127ead984f8e4c104e7..18334d1ead62e4eeaff7a72289a803e5908328c8 100644 (file)
@@ -52,7 +52,7 @@ if get_option('install-tests')
                  install_dir: testdatadir)
 endif
 
-if get_option ('profiler')
+if false and get_option ('profiler')
 
   test('performance-adwaita', test_performance,
        args: [ '--mark', 'css validation',
index 19a44e798706f64f949fae36fa3acb43e57b8e18..58fca614c7fcceff13736ad667dd99ea0c5ebb4b 100644 (file)
@@ -208,7 +208,7 @@ if get_option('install-tests')
 
 endif
 
-if get_option ('profiler')
+if false and get_option ('profiler')
 
   test('performance-layout', test_performance,
        args: [ '--mark', 'size allocation', join_paths(meson.current_build_dir(), '../../demos/widget-factory/gtk4-widget-factory') ],
@@ -216,10 +216,6 @@ if get_option ('profiler')
               'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir) ],
        suite: [ 'gtk' ])
 
-endif
-
-if get_option ('profiler')
-
   test('performance-snapshot', test_performance,
        args: [ '--mark', 'widget snapshot', join_paths(meson.current_build_dir(), '../../demos/widget-factory/gtk4-widget-factory') ],
        env: [ 'GTK_THEME=Empty',